package com.zuo.seckilldemo.service;

import com.zuo.seckilldemo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zuo.seckilldemo.vo.LoginVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zuogaocan
 * @since 2022-11-23
 */
public interface UserService extends IService<User> {

    String login( HttpServletResponse response, LoginVo loginVo);
    
    User getByToken(String token, HttpServletRequest request,HttpServletResponse response);
}
